package com.aiyige.page.globalsearch.model;

/**
 * Created by zhuyakun on 2017/12/8.
 */

public class HistoryHotItem {
    String searchStr;

    private HistoryHotItem(Builder builder) {
        setSearchStr(builder.searchStr);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public String getSearchStr() {
        return searchStr;
    }

    public void setSearchStr(String searchStr) {
        this.searchStr = searchStr;
    }

    public static final class Builder {
        private String searchStr;

        private Builder() {
        }

        public Builder searchStr(String searchStr) {
            this.searchStr = searchStr;
            return this;
        }

        public HistoryHotItem build() {
            return new HistoryHotItem(this);
        }
    }
}
